﻿

using com.tc.assistance.engine;

using System;
using com.tc.zigbee.controller;
using com.tc.zigbee.mt;
namespace com.tc.assistance.home
{
    class RemoteEngine
    {
        ZigbeeDeviceRemoteController controller;

        public ZigbeeDeviceRemoteController Controller
        {
            get { return controller; }
           
        }
        public RemoteEngine(ZigbeeManager zm)
        {
            controller = new ZigbeeDeviceRemoteController(zm);
            AbstractController.instance = controller;
            RemoteListener rl = new RemoteListener(zm);
            controller.addMessageListener(rl);
        }
        public void start()
        {
            controller.start();
        }
    }
  
}
